package com.rightsidetech.trade.dtos.response;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class TdCommodityTradeOrderResp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    private String orderNo;

    /**
     * 第三方订单号
     */
    @ApiModelProperty("第三方订单编号")
    private String thirdOrderNo;

    /**
     * 总价格-分
     */
    @ApiModelProperty("总价格-分")
    private BigDecimal amount;

    /**
     * 优惠金额-分
     */
    @ApiModelProperty("优惠金额-分")
    private BigDecimal discountAmount;

    /**
     * 实际金额-分
     */
    @ApiModelProperty("实际金额-分")
    private BigDecimal actualAmount;

    /**
     * 创建时间
     */
    @ApiModelProperty("付款时间")
    private Date createdAt;

    @ApiModelProperty("退款时间")
    private Date refundTime;

    @ApiModelProperty("0-交易, -1-退款")
    private Integer orderStatus;

}
